package com.chance.cc.crawler.prod.command.schedule.vm.dcdapp;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.vm.dcdapp.adhoc.DcdappWebPraiseSimpleCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/6/22 11:37
 * @Description
 *      懂车帝 车系页 口碑、问答
 **/
public class DCDAppSimpleCrawlerJobSchedule extends CommonCrawlerJobSchedule {

    public static void main(String[] args) {
//        republishCrawlerJob(DCDAppBkNewsSimpleCrawlerSchedulerJob.crawlerScheduler());
       // republishCrawlerJob(DcdappWebForumRealtimeCrawlerSchedulerJob.publishCrawlerScheduleJobInfo());
        //动态板块
       //republishCrawlerJob(DcdappWebDynamicRealtimeCrawlerSchedulerJob.publishCrawlerScheduleJobInfo());
        //精华板块
        //republishCrawlerJob(DcdappWebEssenceRealtimeCrawlerSchedulerJob.publishCrawlerScheduleJobInfo());
//        临时跑的车友圈数据在220上
//        republishCrawlerJob(DcdappWebPraiseSimpleCrawlerSchedulerJob.crawlerSchedulejob());
//        republishCrawlerJob(DcdappWebDynamicSimpleCrawlerSchedulerJob.publishCrawlerScheduleJobInfo());
        //问答板块临时采集
       // republishCrawlerJob(DcdappWebForumSimpleCrawlerSchedulerJob.crawlerSchedulejob());
        //口碑临时采集
       republishCrawlerJob(DcdappWebPraiseSimpleCrawlerSchedulerJob.crawlerSchedulejob());
        //动态板块 临时采集
        //republishCrawlerJob(DcdAppDynamicTraceCrawlerScheduleTrigger.crawlerSchedulejob());
        //大众宝马 临时采集  动态板块
        //republishCrawlerJob(DcdAppDazhongAllSimpleCrawlerScheduleJob.crawlerSchedulejobDongtai());
        //大众宝马临时采集 问答板块
        //republishCrawlerJob(DcdAppDazhongAllSimpleCrawlerScheduleJob.crawlerSchedulejobWenda());
        //大众宝马临时采集 精华板块
       // republishCrawlerJob(DcdAppDazhongAllSimpleCrawlerScheduleJob.crawlerSchedulejobJinghua());
        //大众宝马临时采集 口碑板块
//        republishCrawlerJob(DcdAppDazhongAllSimpleCrawlerScheduleJob.crawlerSchedulejobkoubei());

        //republishCrawlerJob(DCDAppSeriesSimpleCrawlerSchedulerJob.crawlerScheduler());
     //   republishCrawlerJob(DcdappWebForumSimpleCrawlerSchedulerJob.crawlerSchedulejob());
    }

    public static void republishCrawlerJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_5);
    }

    public static void deleteCrawlerJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_17.deleteCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_5);
    }

}
